package cn.threecubic.springcloud.myhandler;

import cn.threecubic.springcloud.entities.CommonResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @author Terminator
 * @date 2021/12/9 10:48
 */
public class CustomerBlockHandler {

    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(4444, "兜底1");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(4444, "兜底2");
    }

}
